package com.example.springbootshiro.service;

import com.example.springbootshiro.model.Permission;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;

import java.util.Map;

/**
 * Created by YangGang on 2021/12/16 18:21。
 */
public interface PermissionService {
    Map<String, String> findPermissionMapCache();

    int addPermission(Permission permission);

}
